import Vue from 'vue'
import Router from 'vue-router'
import Home from "../components/Home";
import Order from "../components/Order";
import Pay from "../components/Pay";
import Success from "../components/Success";
import List from "../components/List";

Vue.use(Router)

export default new Router({
  routes: [
    {path: '/', redirect: '/order'},
    {path: '/home', component: Home},
    {path: '/order', component: Order},
    {path: '/pay', component: Pay},
    {path: '/success', component: Success},
    {path: '/list', component: List},
  ]
})
